package com.atguigu.spzx.cloud.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * projectName: com.atguigu.spzx.cloud.order
 *
 * @author: 顾司羽
 * time: 2024/12/24 11:14 周二
 * description: 编写启动类
 */
@SpringBootApplication
@MapperScan(basePackages = "com.atguigu.spzx.cloud.order.mapper")
//定义openFeign客户端,在启动类下! 不要额外的指定包!不在不需要value feign客户端包
@EnableFeignClients // 开启Feign客户端
public class OrderApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderApplication.class, args);
    }
}
